<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>我的成绩</title>
</head>
<body>
<h2>我的成绩</h2>
<table border="1">
    <thead>
    <th>学生id</th>
    <th>科目</th>
    <th>成绩</th>
    </thead>
    <tbody>
    <tr th:each="grade:${myGrade_model}">
        <td th:text="${grade.id}"></td>
        <td th:text="${grade.subject}"></td>
        <td th:text="${grade.grade}"></td>
    </tr>
    </tbody>
</table>
</body>
</html>